#!/usr/bin/env bash
# ******************************************************
# Author       : kaleo
# Last modified: 2017-10-06 21:17
# Email        : kaleo1990@hotmail.com
# Filename     : updatemyhosts
# Description  : 
# ******************************************************
echo rm newhosts
rm newhosts
echo ./merge_snippets.sh newhosts
./merge_snippets.sh newhosts
echo sudo cp newhosts /etc/hosts
sudo cp newhosts /etc/hosts
echo sudo /etc/init.d/networking restart
sudo /etc/init.d/networking restart
